package com.ruoyi.wms.domain.entity.stock;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.mybatis.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.math.BigDecimal;

/**
 * 采购申请详情对象 wms_purchase_request_details
 *
 * @author 邓滔滔
 * @date 2024-11-20
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("wms_purchase_request_details")
public class PurchaseRequestDetails extends BaseEntity {

    @Serial
    private static final long serialVersionUID=1L;

    /**
     * 主键ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 关联的采购申请单ID
     */
    private Long requestId;
    /**
     * 商品规格ID
     */
    private Long skuId;
    /**
     * 申请数量
     */
    private BigDecimal quantity;
    /**
     * 单价
     */
    private BigDecimal price;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 备注
     */
    private String remark;

}
